package com.emep.changzhi.analyse.repository.information;

import com.emep.changzhi.analyse.entity.information.SysPromptConfig;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Modifying;

import javax.transaction.Transactional;

/**
 * @author yangj
 * @version V1.0
 * @Description: DOTO
 * @date 2018/2/28  15:24
 */
public interface SysPromptConfigRepository extends JpaRepository<SysPromptConfig , Long> , JpaSpecificationExecutor<SysPromptConfig> {

    SysPromptConfig findSysPromptConfigById(String id);

    @Modifying
    @Transactional
    Integer deleteById(String id);
}
